﻿using Machine.Core.Models;
using Machine.main.Models;
using Machine.main.Services;
using MaterialDesignThemes.Wpf;
using Prism.Commands;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Windows.Documents;

namespace Machine.main.ViewModels
{
    public class MainWindowViewModel : NavigationViewModel
    {
        private string _title = "Machine main";
        public IMenuItemService menuItemService { get; set; }

        public DelegateCommand<MenuItemModel> NavigateCommand { get; set; }
        public string Title
        {
            get { return _title; }
            set { SetProperty(ref _title, value); }
        }

        public MainWindowViewModel(IMenuItemService menuItemService)
        {
            this.menuItemService = menuItemService;
            NavigateCommand = new DelegateCommand<MenuItemModel>(Navigate);
        }

        private void Navigate(MenuItemModel model)
        {
           
        }
    }
}
